package demo4;

public class Bird extends Animal implements IFlying{
    public Bird(String name,int age) {
        super(name,age);
    }

    @Override
    public void fly() {
        System.out.println(this.name + " 正在飞...");
    }
}
